package com.mspbots.cw.amqp.model;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * com.mspbots.dto.TenSchedulePO
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/6/4
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table("tenant_schedule")
public class TenantSchedule {

    @Id
    private Long id;
    private Integer tenantId;
    private Integer memberId;
    private Long cwId;
    private Long objectId;
    private String name;
    private String identifier;
    private LocalDateTime dateStart;
    private LocalDateTime dateEnd;
    private Boolean doneFlag;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private LocalDateTime syncTime;
    private JsonNode extend;

}
